import createAPI from '@/plugins/axios'
const asyncDatabase = {
  list: config => createAPI('data/dataSource/list', 'get', config),
  constructList: config => createAPI('data/constructionSource/list', 'get', config),
  download: config => createAPI('data/constructionSource/download', 'post', config),
  downloadList: config => createAPI('data/downloadHistory/list', 'get', config),
  // count: config => createAPI('/data/count', 'get', config),

  count: config => createAPI('http://localhost:8090/mock/11/elise/count', 'get', config)
}
export default asyncDatabase
